package com.fanxuankai.boot.canal.client.autoconfigure;

/**
 * 处理配置
 *
 * @author fanxuankai
 */
public class Handle {
    /**
     * 重试次数
     */
    private int retry;
    /**
     * 重试间隔 ms
     */
    private long intervalMillis = 5_000;

    public int getRetry() {
        return retry;
    }

    public void setRetry(int retry) {
        this.retry = retry;
    }

    public long getIntervalMillis() {
        return intervalMillis;
    }

    public void setIntervalMillis(long intervalMillis) {
        this.intervalMillis = intervalMillis;
    }
}
